//1.引入pinia
import { createPinia } from "pinia"
//2.创建pinia
const pinia = createPinia() 
//3.安装pinia
export default pinia //导出pinia用于main.js注册
